export default vm => {
  return {
    stripe: true,
    headerAlign: 'left',
    align: 'left',
    border: true,
    defaultExpandAll: false,
    selection: true,
    tip: false,
    searchMenuSpan: 6,
    searchMenuPosition: 'left',
    size: 'mini',
    maxHeight: '600',
    column: [
    //   {
    //     label: '主键',
    //     prop: 'shareId'
    //   },
      {
        label: '视频url',
        prop: 'url'
      },
      {
        label: '分享人',
        prop: 'userId',
        display: false
      },
      {
        label: '分享时间',
        prop: 'createTime'
      },
      {
        label: '分享链接',
        prop: 'href'
      },
      {
        label: '分享次数',
        prop: 'count'
      },
      {
        label: '分享密码',
        prop: 'pass',
        display: false
      },
      {
        label: '分享状态',
        prop: 'state',
        type: 'switch',
        dicData: [{
          label: '启动',
          value: 0
        }, {
          label: '禁用',
          value: 1
        }]
      },
      {
        label: '结束时间',
        prop: 'endTime',
        type: 'date'
      }
    ]
  }
}
